﻿using System.ComponentModel.DataAnnotations;

namespace Faser_VoteSys.Models.RequestModel
{
    public class UserRegister
    {
        [Required(ErrorMessage = "邮箱不能为空")]
        public string Email { get; set; }

        [Required(ErrorMessage = "密码不能为空")]
        public string Password { get; set; }
    }
}
